package componentManager;

public class Doc {
	
	private int id;
	private int nbreTermes;
	private String nomDoc;
	
	
	public Doc(int id){
		this.id=id;
		
		
	}
	
	


	
	
	public Doc(int id, int nbreTermes, String nomDoc) {
		super();
		this.id = id;
		this.nbreTermes = nbreTermes;
		this.nomDoc = nomDoc;
	}






	public String getNomDoc() {
		return nomDoc;
	}




	public void setNomDoc(String nomDoc) {
		this.nomDoc = nomDoc;
	}




	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getNbreTermes() {
		return nbreTermes;
	}

	public void setNbreTermes(int nbreTermes) {
		this.nbreTermes = nbreTermes;
	}
	
	public String toString(){
		return this.id+" nbreTermes:"+this.nbreTermes +" "+nomDoc;
	}

	
}

